package acm.蓝桥02;

public class 村庄邮局 {

    static Node[] nodes;    //居民
    static Node[] post;    //邮局
    static int n,m,k;

    public static void main(String[] args) {
        Reader sc=new Reader();
        n = sc.nextInt();
        m = sc.nextInt();
        k = sc.nextInt();
        nodes=new Node[n+1];
        nodes=new Node[m+1];
        for (int i = 1; i <= n; i++) {
            int x = sc.nextInt();
            int y = sc.nextInt();
            nodes[i]=new Node(i,x,y,m);
        }
        for (int i = 1; i <= m; i++) {
            int x = sc.nextInt();
            int y = sc.nextInt();
            post[i]=new Node(i,x,y,n);
        }
    }



    static class Node{
        int id;
        int x;
        int y;
        int[] dis;

        public Node(int id, int x, int y, int n) {
            this.id = id;
            this.x = x;
            this.y = y;
            dis=new int[n+1];
        }

        public Node(int x, int y) {
            this.x = x;
            this.y = y;
        }
    }
}
